Fixed the broken array growth functions. Works like a charm now.