fix the case of the dimension not clustered but a subset of the labels
selected