added the new feature vector building.