Use permutations from Py libs instead of handmade