otherwise simply use an unsorted_set as datastructure