The items.Size() check can be dropped.