initial bst for distinct words