Stats tree seems to work properly, including pruning of "empty" leaves
14 files changed