Electron Flux Controlled Switching Between Electron Beam Induced Etching and Deposition