Do the redim's in chunked form similar to normal vector/array growth algorithms. The example in that article is so ridiculous because (assuming you're not completely insane), you're never going to ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results