MAXREMOVE
static REGEN removed[MAXREMOVE];
if (++r >= &removed[MAXREMOVE])
for (rp = removed; rp < &removed[MAXREMOVE]; rp++)