add minimum path sum