parallelize feature extraction