return uint16 z in uint16 x call uint16_nonzero_mask