Gyroid mesh between SubDs using twisted box problems

I’m currently working on a project where I want to create a gyroid structure between 2 SubD surfaces in grasshopper.
I’ve gotten pretty far, I think, using pufferfish, crystallon and weaverbird components. However, in the end I always get a result that doesn’t really look right. The final mesh takes on a shape that not very uniform, it still has influence of the starting SubD interior edges and I can’t figure out why.

I’ve tried using mesh from SubD and using Twisted box two meshes instead, but end up with similar problem.

Thankful for any help. I’m not locked into this method of making the idea happen. Just semmed like an logical way to do it for me. I’ve attached the .3dm and .gh file below.

Footbed + bottom.3dm (452.3 KB)
Lattice Fotseng SubD (104.4 KB)