Re-added the option to repolygonize