remove loop from vertex insertion into polygons. close polygons with start location and terminate the list with None