Use capacity instead of size