shrink board size to terminal if terminal is smaller than default board size