recalculate the next time after stepping