Create distance.json