adding in some bit sizes required for the permutations