could we pass vertices as const std::vector<Point> &vertices ?