added a cool heuristic type; speeds things up a lot