Do loops using instruction pointer instead of code copy
Replace Stack<Integer> with custom class