optimize Array(sequence)