prepare for heuristic scheduler