Now adds all the vertices instead of just some of them.