Add tree construction and activation of nodes