A thin hoop of mass M and radius R rolls without slipping down a ramp with height h. It then rolls onto a flat frictionless surface (where it can slip) and impacts a spring with spring constant k. Assuming there is no friction between the hoop and the spring, what is the maximum compression of the spring?