use memory.alloc in array