Add external pointer push and pop
Add external stack