swapped out Stanford HashMap with tr1/unorder_map