Implemented smooth polygons.