Added feature to use data size based sharing