normalize neighbors distances