Fixed heuristic 4