The slots are decided according to the traffic en-route of other passenger trains. they TT deciders don't bother much of intermediate stations, exceptions of big junctions.
So if they find a certain slot is free for this train to depart, then they design it and fix it. rest modifications are done later according to zonal discussions.