How was their small size helpful to the mammals of the Mesozoic?