precalculate permutations and canonical version of all possible kmers