Optimized on getting the item size.