WindowPermutation algorithm is sketched.