Construct symbol table