Determine cell size based on size of board