changed the add-new-tree function so it does not use random_tree in the collection (so now the plot can be empty)