Add random variable ordering heuristic.