rounded the totalDistnace to 3 significant