New main clause that deals with multiple recursive stacks, just the first one to test.