Add some step length functions, untested.