reverted distance lenght change