Use a more efficient queue structure for jobs