Tie breaking heuristic for HyperCube shuffle

During the search for optimal HyperCube size, make the sizes of dimensions of the hypercube as even as possible.

e.g. prefer [2, 2] over [1, 4]