A block m1 of mass 2.0 kg is moving on a frictionless horizontal surface with a velocity of 1.0 m/s towards another block m2 of equal mass kept at rest as shown. The spring constant of the spring fixed at one end of m2 is 100 N/m. The maximum compression of the spring is