added support for rendering the first part of the spline