Corrected setVertices' parameter.