Updated tree generator efficiency

Changed the tree generator to draw by vertices instead of indices.