SPACE CHARGE EFFECT ON THE ACCELERATION OF ELECTRONS IN A THETA-PINCH