use root and either left or right child as a path base for parent to construct the sum path