completed path sum