Switch from deprecated Distance.jl to Distances.jl