Changed the map from a Vertex list to a Vertex array