private int getCellSizePolicyImpl(final int cellIndex, final ArrayList<Integer> eliminatedCells){
    int policyFromChild = getCellSizePolicyFromInheriting(cellIndex);
    if (policyFromChild != -1) {
      return policyFromChild;
    }
    for (int i = eliminatedCells.size() - 1; i >= 0; i--) {
      if (cellIndex == eliminatedCells.get(i).intValue()) {
        return GridConstraints.SIZEPOLICY_CAN_SHRINK;
      }
    }

    return calcCellSizePolicy(cellIndex);
  }
private int getCellSizePolicyImpl(final int cellIndex, final ArrayList<Integer> eliminatedCells)