adapted to changed offsetpolygon api