finish curveNet and curve removal