polyline support for smaller output