Use ArrayBuilder instead of ArrayBuffer

ArrayBuilder is specialized for holding primitive VD types.