A block of mass m is projected with velocity u forwards another identical block with has a massless spring attached to its face. The spring constant of the spring is k and blocks are on smooth horizontal surface. Maximum compression in the spring is: