Spline system wall creation in runtime using Blueprints

So I want the ends of the wall to connect properly without any gaps as such, also the

thickness of the wall to be the same throughout.

But here there are some gaps between the ends of the walls, also there is thickness difference between the walls. Where the walls are thin at some places and of a different thickness at few places.