Building the munchtree