stack_with_min