A large block of mass M at rest on a frictionless horizontal surface is connected to a relaxed spring of spring constant k, whose other end is fixed. Another smaller block of mass m with initial speed v. collides with the large block and sticks to it. The maximum compression of the spring, at the moment when the blocks are stopped, is x