Influence of secondary electrons in proximal probe lithography