Bucketing leaves of the permutation index.