added method for finding appropriate UID and no-segment tables.