How to stop shaking spline?

Does anyone know how to eliminate the back and forth swaying that occurs when the splines are parallel?


I managed to find a solution.
I was running the cars on a camera rig, and I increased the value of Reparam Steps Per Segment in the camera rig’s RailSplineComponent.