getting rid of heap allocated array in favor of an unordered_map<int,
...> in parsing table