Try out Clipper library
cleanup & add arcTolerance