Create path sum