Use extra hash table layer to improve performance