Peter Lister suggested using a max recursion flag.
Actually, in the way I implemented it at MIT, I leave it as a
commandline option for the ptserver.
-memdepth <n>
where <n> is 0 or greater. 0 disables the groups within groups, and
larger values specify the max. depth which is useful during the GetCPS
operation. Unfortunately, it is hard to do all the checks since at any
time, one group may be added to another, and it is hard to tell if the
group you are including does not already have <n> groups (or even worse
<n-1> and the list you are adding it to is a member of some other
group).
Therefore, either it should be all the way or not at all. I think it
should be a command-line option (it can be reconfigured with bos
create).
-Richard