fixed a bug with the shortest feasible mode