docs: private void assignInstancesToContainers(PackingPlanBuilder planBuilder,
                                             Map<String, Integer> parallelismMap)
        throws ConstraintViolationException {
      List<ResourceRequirement> resourceRequirements
          = getSortedInstances(parallelismMap.keySet());
      for (ResourceRequirement resourceRequirement : resourceRequirements) {
        String componentName = resourceRequirement.getComponentName();
        int numInstance = parallelismMap.get(componentName);
        for (int j = 0; j < numInstance; j++) {
          placeFFDInstance(planBuilder, componentName);
        }
      }
    }