Store spline as integer