Stack with min()