revisit minStackSize