Fixed the bug where the size of the board gets bigger than the max size.