fixMaxStep