Experimentallly optimize permutations and add benchmarks