Plasma Heating by an Electron Beam in Corrugated Magnetic Field