Optimal dimensioning of a beam chopping system on the high-energy side of a tandem accelerator