added support for -hr flag to turn heuristics use on