further optimizations to Array and ArraySequence