Changed lookup from an unordered_map to an array