Make RemoveUselessAgedAlligators less vulnerable for stack overflows