Question on map to surface

Hi im new to grasshopper and im now stuck at some application on map to surface component
I planed to map the curve pattern on every individual surface within that group, but the result remains only part of the pattern to the surface, really sorry im still exploring and trying to understand grasshopper definitions, is there any solution to this problem?
The script is attached below


question 1.4

gh p1.gh (535.9 KB)

Graft the Target Input of Map To Surface.

Oh yeah it works thank you so much