added a TLE version of MinStack