new: path sum