Nitrogen implantation with a scanning electron microscope