Allow for arbitrary board size