If you set subset then the num_vectors will be change according to the size of the subset.