Update checkBalancedBinaryTree