fill polygons with two different algorithms