set initial capacity to minimum if unknown capacity