Cutting and stitching: converting sets of polygons to manifold surfaces | Synapse