Iterate the board in a better order.