*/
static Object tileKey(PlanarImage owner, int tileX, int tileY) {
long idx = tileY * (long)owner.getNumXTiles() + tileX;
BigInteger imageID = (BigInteger)owner.getImageID();
byte[] buf = imageID.toByteArray();
int length = buf.length;
byte[] buf1 = new byte[length + 8];
System.arraycopy(buf, 0, buf1, 0, length);
for (int i = 7, j = 0; i >= 0; i--, j += 8)
buf1[length++] = (byte)(idx >> j);