tiny refact
minStack