High density electron beam for gamma-ray Compton sources