Removed unnecessary stacks