Offset on Surface | Attractor point not working

Hi,
I am working on an example of a skin, using an offset on surface component which works perfectly fine when I’m giving it a certain value, but when I use an attractor point to remap the values, my lofts are getting broken.
I have uploaded the grasshopper file, the remap component is grouped in red.
I am sure it is a data management issue but I can’t wrap my head around it.
I would appreciate some help!

Thanks,
Yerwant

Offset on Surface.gh (57.5 KB)


Offset on Surface_2022Feb11a.gh (71.4 KB)

Thanks Joseph, I appreciate the quick response!