Curves intersection

Hello,
I’m having a problem when using component Curve|Curve (curves intersection in GH).

It works with separate branch like:
Tree 1: {0;0},{0;1},{0;2}
Tree 2: {0}
But not work with whole branches:
Tree 1: {0;0},{0;1},{0;2},{1;0},{1;1},{1;2},…
Tree 2: {0},{1},…

Could you guys give me some advices for this issue?
Cheers!

test curves intersection.3dm (365.4 KB)
test curves intersection.gh (34.8 KB)

flatten the input of either Tree1 or Tree2 depending on how you want output data to be organized

this playlist will for sure be of great help: