pass Njobs in loop.