spatial connected component pre-locating