Dag tree is parsed into local structures