fix number of shared