Add stack with min problem