Heuristic function
 
x
OK