SS/TDMA Time Slot Assignment with Restricted Switching Modes