Balanced Binary Tree 2nd version