2d: finding the appropriate key to start searching.