Accurate nano-EB lithography for 40-nm gate MOSFETs