Code to analyze the HiForest once it is produced.