HiForest production code.