tree sum totals working better