A block with mass of 4 kilogram is compressed a distance d against a spring with a spring contrast of 250 N/m. The coefficient of friction between the surface and the block is 0.20. When released, the block moves 5 meter along the rough surface before coming to a stop. Calculate by what amount was the spring initially compressed?