We replaced the normal stepper motor on the Z-axis slide table with the closed-loop stepper motor. The closed-loop stepper motor could provide feedback which allows it to compensate for the linear distance loss when some steps are skipped. A small LCD screen is also attached to the motor which allows us to know the number of steps lost and calibrate the motor accordingly.