Sum tree paths to leafs