update sum root to leaf numbers non-recursive top comment