first iteration bst