docs: private int getLargestContainerSize(Map<Integer, List<InstanceId>> allocation) {
      int max = 0;
      for (List<InstanceId> instances : allocation.values()) {
        if (instances.size() > max) {
          max = instances.size();
        }
      }
      return max;
    }