using unorderedset(hash) with extra space