add miter joints for polyline tessellation