A static scheduling heuristic