finish sum root to leaf