generate large array