substr: fix casting during compilation
tie breaking heuristic.
e.g. prefer [2, 2] over [1, 4]
Merge branch 'master' into shumo_hc_tie_breaking_heuristic
Merge branch 'master' into shumo_hc_tie_breaking_heuristic
add test for the tie-breaking heuristic
Merge pull request #368 from uwescience/shumo_hc_tie_breaking_heuristic

Tie breaking heuristic for HyperCube shuffle
Merge branch 'master' into fix-myria-web-221
Merge branch 'master' into fix-myria-web-221
Merge pull request #366 from uwescience/fix-myria-web-221

substr: fix casting during compilation