Name[] n = new Name[index?ninds:nsyms];
int j = 0;
for(int i=0;i<defined.length;i++){
if( defined[i] == 0 )
continue;
Name tn = Name.get(i);
...