Simulation of the spatial distribution and molecular weight of polymethylmethacrylate fragments in electron beam lithography exposures