Adjusted the assign slots method to remove the need for slots to be grouped