Updated methods to use new stack size argument