Smoohting shortest walk and keep intersections

How can I smoothen shortest walk and keep the intersections of the curves?

Smoothing shortest walk at intersections (175.5 KB)

Connected at intersections

Not connected at intersections after ‘smoothing’

Shortest walk works best when used with a point set. Your script is set up with the intersection of two shortest walks. Suggest using 1 point set, run the shortest walk on that