set max_share_size