depend on Distances instead of Distance