Adapt checksizes after the improvements to the optimizer.