check height balace and BST property