permuting utilities
works but not optimally
working for EISH with lots of printing
doesn't find an optimal solution