implement parallel batch processing in feature extracting