static L bitsFullChunks(Bits bits, int width) { int n = bits.n/width; // leave last chunk if too small new L l; for i to n: l.add(subBits(bits, i*width, (i+1)*width)); ret l; }