heuristics for solving hogher degree polynomials via substitution