fix all range use next permutation great and equal than bug