optimazation for FeatureVector