Text this: Two-stage spline-approximation in linear structure routing