Metrology design for improving the beam stability in an e-Beam Lithography machine