GroupIndex groupIndex = ais.getGroup(groupName).getIndex(indexName);
if (groupIndex == null)
throw new RuntimeException("group index undefined: " + indexName);
long result = 0;
for(Table table = groupIndex.leafMostTable();
table != groupIndex.rootMostTable().getParentTable();
table = table.getParentTable())
{
if (containingTables.remove(table)) {
result |= 1 << table.getDepth();
}