The last point in each contour should wrap around to the first