HELP! - C#, datatree, mesh plane intersection, output data structure

I’m trying mesh plane intersection in C#, but the output datatree seems to be duplicated by the number of mesh input, which is not what I need.
In the attached file containing partial code I’m working on, I would like to have output A with one item (plane) for each branch.
However, as you can see, the output A has 13 items for each branch. (according to the number of mesh input)
Any help would be appreciated.

meshplaneintersection.gh (143.5 KB)

How do you expect to get four (gridN) branches with a plane each operating with 13 meshes? The solution to this has multiple paths but you have not given enough information to discern.

Anyway, easy solution: join all meshes to have just one input mesh.