minor optimization (minimize performance impact of SoftMatchingFeature code if disabled)