Fixed permutation calculation