i think we need this check.
if n_jobs > 0 n_jobs + n_cores is wrong.