The current approach of getting the memory space for the key from the memory pool has some inefficiencies.