parallelize predict