Check whether a vector of QIs can store all indices