10.3.18 permute3d