renumber the extracted features for estimating weights