Box Morph Orientation Help (real challenge..!)

Greetings!

I am trying to morph a custom cell between two offset surfaces that have been divided up into cubes using twisted box two meshes. The custom cell is a curve and needs to remain so in order for the multi pipe to complete as intended (they need to overlap geometrically).

Problem I am having as you can see below is that they are not all aligned and I can find no way to tell these morphed curves to not rotate so that are all aligned and not 90 degrees from one another. Any help would be greatly appreciated, I am fairly new to grasshopper and completely stumped by this!

Check out this topic here: Reorder planes of a irregular mesh - Grasshopper - McNeel Forum