suppose we have a triangle having ab=1,bc=2,ac=3 and distance between ac=3 either u choose ab+bc or ac and u took ab+bc as shortest path for your case. now if u add all three sides by +1 then ab=2 bc=3 ac=4 so ab+bc=5>4 (ac).
so your shortest path changed na now as you have to go by ac..