initial distance.py