Added calculation to max out board size if boxes will be too small to display well.