Orders of symbols should matter in cacheing. Better way to implement would be to reindex at the end of the program.