Use splice to put the generated node into the stack