replace the map and set by the unordered_map and unordered_set of boost