oops, thanks @lucaswerkmeister
optimize ArraySequence