using vector of sets, doesn't works