Reduce memory usage by using unboxed arrays instead of sets and lists
Add finer grained event logs
Give more memory to sort
Swap hash order, otherwise we just get xor :(
Add postprocessing