The code performed in two different manners: Single-size targeting and a series of target sizes. For the series, the code initially identified optimal conditions for the first target size, accumulating and retaining data after each target size. Consequently, the code typically became more efficient as more data was gathered. In contrast, for single-size targeting, one could input all sizes and their tolerances, but the code wouldn't retain data after reaching the target size, resulting in experiments being conducted independently of each other.