Create main_stack