Map To Surface Error- Urgent

map to surface problem revised.gh (37.7 KB)

It should work with most surfaces, but I run into problems like this where it exceeds the bounds of the base surface when the input is complex.