Optimalization of features