Modeling of electron beam scattering in high resolution lithography for thefabrication of x-ray masks