Cross 2d with combined object

Hi I need a help for you guys expert.
i made the patch which have one curve and 100 box along with this curve.
I am trying to apply cross 2D but when i apply i can get the box correctly.
can any one help me?

lineandbox.v4p (15.5 kB)

I’m not sure if it is this you want; but maybe the Bin Size of IOBox (Node) is helpful here.

see attached patch

lineandbox.v4p (18.4 kB)

thank it is what i want to do. i will check your patch.
Can i ask one more question? i want to make every curves different with the randomspread. how can i do it?

lineandbox_with various shape.v4p (20.7 kB)