Pierce electrodes for a multigap accelerating system