fixed 4 threads to only go through it's own permutations instead of itself and the rest.