On the design of electron beam deflection systems