Procedural path generation not drawn correctly

Hi im askin here because somehow im not allowed to post anywhere else.
So im playing around with procedural path generation. The algorithms i utilized work pretty good. However sometimes between chunks it gets a little messy:

image

Now i wonder if its easier/better to fix that by modifying the rule tile (i have no idea how) or by editing the spline and bresenham algorithm? I really dont want to change that script up again so i thought i might as well ask befor im going to sleep. thank you in advance