A uniformly loaded rectangular crate is released from rest in the position shown. Assuming that the floor is sufficiently rough to prevent slipping and that the impact at B is perfectly plastic, determine the smallest value of the ratio a/b for which corner A will remain in contact with the floor.