memory efficient feature selection