Averaging on Earth-crossing orbits