fix step length