Spline generator creates weird deformation

I created a spline mesh generator following this [tutorial][1]. But extending the spline creates weird distortion in the objects produced in the spline, see screenshot:

You can check the blueprint here: Spline generator BP posted by anonymous | blueprintUE | PasteBin For Unreal Engine

The mesh behind the spline is the original mesh. I want the meshes to curve along the spline but not get distorted or overlapped with each other like in the image. I also want an option to add a gap between 2 meshes, how can I do that? I’m new to game dev and blueprints, please point out what I’m doing wrong.