pick faster search option in Plane grid

if we are searching an area smaller than our populated grid, it would be
faster to check each key. if we are searching an area larger than our populated
grid, it would be faster to search the grid