making map search more efficient