Apply rescale when shifting values for signed data. Fixes #108.