getMaxDistanceKmItemIds