each element in vector represents dimension and each element in set is an id of dimensions which contains zeros.