Reducing variable hash lookups number.