Using streaming for polygons