const ref for combine function
refactor to use c++ standard hash format
forgot a use of unordered_map without Hash