fixed permutationsIncreasing