reorganize StackOperation