improve nearbylocation search efficiency