public int[] asEncoded() { int ct = size(), idx = 0; int[] points = new int[ct]; long t, w; for (int x = 0; x < width; x++) { for (int s = 0; s < ySections; s++) { if((t = data[x * ySections + s]) != 0) { w = NumberTools.lowestOneBit(t); while (w != 0) { points[idx++] = Coord.pureEncode(x, (s << 6) | Long.numberOfTrailingZeros(w)); t ^= w; w = NumberTools.lowestOneBit(t); } } } } return points; } public int[] asTightEncoded()