Updated distance files with correct nodes