Practical scheme for three-dimensional simulation of electron cyclotron resonance plasma reactors