Moved step_abs initialization from args out of loop.