Fixed Stack.clear() not reseting size