Remove two unnecessary parameters of permuteRe.