Simplify encoding of signed integers