Make board size dynamic