Implement method for second permutation.
Implement third pass for haval transformation.