Renaming the Maximum distance.