adjust heuristic's arbitrary constant to make tests pass