Initialize the tree only once when the -t option is set