static int bits16 (List<int> d, int p) { int o = (p ~/ 8) | 0; return ((d[o] | (d[o + 1] << 8) | (d[o + 2] << 16)) >> (p & 7)); }