Adaptive bandwidth assignment in a TDM network with hybrid frames