CODE: refactored AtomArray to (optionally) use one underlaying ArrayBuffer