Replacing set with unordered_set