Do not recalculate denominator when decelerating
Refactoring stepgen