ok thaks! but how can i recognize a node with a large subtree? should my priority be the bigger distance from the root is better? but still...how can i know what was the size of the subtree of a particular node?
EDIT: Ah i think i got it. silly question, i need to keep the nodes with a bigger distance from the root..that's the sign of a large subtree.