integrated pattern permutations