feasible routes check, though repair function still not working