Nanostructure fabrication using pulsed lasers in combination with a scanning tunneling microscope: Mechanism investigation