remove floor function on distance to locations