first version of heuristic
left and right click to increase / decrease the value of a block