Investigating atomic-scale structures generated with the STM