locality search