Changed to num_slots_for_job to avoid ambiguity with total_jobs