A block of mass m is connected to another block of mass M by a massless spring constant k, the blocks are kept on a smooth horizontal plane and are at rest. The spring is unstretched when a constant force F starts acting on the block of mass M of pull it. Find the maximum extension of the spring.