included test weight in heuristic