Implementation of an autocorrelation-based adaptive alignment mark detection method in electron beam lithography | Synapse