reduces the number of permutations required in heuristic method
reduces the number of permutations required in heuristic method