Tweaking heuristic to control corner and avoid getting close to corners. Also, got rid of harmonic mean.
Reduced depth to avoid running afoul of time limit in monitor; maybe would be better to check the time
and backtrack out instead?