updates to heuristic3 - now it seems much better