support for sharing the same root across several parser