Lossy compression of 32 bit integers to 16 bit