A SEM is almost an e-beam writer