Sketch of improved tail scheduler.