size to isEmpty changed