Introduce BOARD_MAX_SIZE compile-time upper limit on board size