tree root-leaf sum