add final treecode, result compared to direct summation