However, im quite not sure about the tree structure i have or lack enough knowledge on this part, so all objects occur at once in the points i have
I have set of 3 different spheres which i have to randomly place in a point collection, so would you guys clear me out where in my code the logic was wrong
Flatten the tree with the three objects. Repeat / duplicate the objects so you have at least as many spheres as you need for all planes and the jitter the list.