use 16-bit ints instead of 32-bit ints.