Preallocate array per Spirros.

Need to specify indices explictly, as push will not overwrite the initialized
values but instead appends on to the end.