Add hammingweight