reverted logic...pushing to an array is not faster