Hi Michal,
Please find attached a modified version of your scene (251110_scene_ITOOSOFT.max), where I used the Padding operation to 'split' the spline into sections, made the middle part linear with the Normalize operation, and then combined everything back together. I hope this helps.
Best regards,