Trying Total h == 0

If hTotal = 0, we have a solution. And only then. This would allow us to
use the min h + g > limit.