weights hash