updated the board heuristic calculations