Calculating the offset seems to be unnecessary before applying to the vertices in PolygonMesh.