A study of two‐stage ion‐beam optics