slice procedural mesh(tree)

ok but how i define which piece im connecting together