Finite-size effects in pair production by an external field.