Peephole optimize for stack extend