new timslot alg