BalancedTree working