optimal_gait_scan