GC Improvement

sizeNeeded, newItems, and items in ensureCapacity and resize.