DC electric-field profile control in long epitaxial layers of GaAs