Improve balanced binary tree

short-cut when some subtree is not balanced