if it is a balanced tree