A vertical spring has a stiffness of 2000 N/m. One of its ends is attached to the floor, and the other extends up a distance of 0.4 m when it is unstretched. A block of 3 kg is carefully placed on the top of the spring and let go. The block starts to move down as the spring is compressed. What is the maximum distance the block will travel?