Make sure initial size is sufficient for content.