motor calibration optimized