Two blocks of masses m and M are moving with speeds v1andv2(v1>v2) in the same direction on the frictionless surface respectively, M being ahead of m. An ideal spring of force constant k is attached to the backside of M as shown. The maximum compression of the spring when the block collides is: