Changed environment's implementation to unordered_map from map for constant access