Why not simply summing both to `h`?
Also you should use `^` because the carry of `+` increases the probability of 1 for higher bits.