Imporved heuristic on rMajor

added thresold on product of rMinor and rMajor