Dynamic allocation and need for slots to optimize resource utilization