Probing atomically inhomogeneous surfaces with tunneling microscopy