improve stepper homing (now 3-stage)