I would suspect that your steps/unit is not set properly. If you can tell us how your machine is set up (type of stepper motor, type of leadscrew, any belt/gear reduction, type of stepper drive) then someone can help you calculate your steps/unit so you can compare it with what you are using now.