brelazs heuristic algorithm