heuristic compiles, even if sucks