revising parrellelization to reduce number of jobs submitted