minimum trace scheduling