docs: private PackingPlanBuilder getFFDAllocation(PackingPlanBuilder packingPlanBuilder,
                                                PackingPlan currentPackingPlan,
                                                Map<String, Integer> componentChanges)
        throws ConstraintViolationException {
      this.numContainers = currentPackingPlan.getContainers().size();
  
      Map<String, Integer> componentsToScaleDown =
          PackingUtils.getComponentsToScale(componentChanges, PackingUtils.ScalingDirection.DOWN);
      Map<String, Integer> componentsToScaleUp =
          PackingUtils.getComponentsToScale(componentChanges, PackingUtils.ScalingDirection.UP);
  
      if (!componentsToScaleDown.isEmpty()) {
        removeInstancesFromContainers(packingPlanBuilder, componentsToScaleDown);
      }
  
      if (!componentsToScaleUp.isEmpty()) {
        assignInstancesToContainers(packingPlanBuilder, componentsToScaleUp);
      }
  
      return packingPlanBuilder;
    }