Remove unused curve data