E-beam lithography tool for nanopatterning