make weights shareable