slice procedural mesh(tree)

You can give components tags and use them as index.