Changed initial distance value