[PD] Shifting arrays (permutation)