curve to line modification