The loader operator was getting off the CAT 992G loader at the end of the shift. EE stepped off the counter weight of the machine with EE's right foot onto a level berm. EE stepped onto a piece of #3 stone causing EE's ankle to roll and EE fell to the ground. EE was diagnosed with a sprained ankle.