Update BalancedBinaryTree.cpp

remove duplicated caculation