public void Evaluate(int spreadMax) { if (FEnabled.SliceCount == 0 || FEnabled[0] == false) { FStructOut.ResizeAndDismiss(0, () => IOManager.CreateStruct(Declaration)); } else if (FEnabled[0]) { spreadMax = IOManager.CalculateSpreadMax(); FStructOut.ResizeAndDismiss(spreadMax, () => IOManager.CreateStruct(Declaration)); IOManager.ReadFromIOBins(FStructOut); } }