minimizing the board