Slight tweak to statistics program to simplify grouping for branching factors