better heightBalancedTrees (almost a copy of Tree.hbalTrees)