acc permute