extend hash to 32 bits