Add minimum path cost
Add minimum path cost