add judge a balance tree