Text this: Local dose distribution and changing resist cross-sectional shapes in electron beam lithography