Build a tree model with versions. You retrieve the tree at any time.