 
 INT_SIZE = 16
 MAX_SIZE = 1<<26
+MAX_BYTES = 1<<29
 MAX_LINEAR_ARRAY_INDEX = 2
 
 ITER_CHANGE_VIEW = 1


   addArray: ->
    size = lastViewLen
    while size isnt MAX_SIZE
     size = size << 1
    b = new ArrayBuffer size << 1
    buffers.push b

   constructor: ->
    size = INT_SIZE
    n = length * STRING_AVG_LEN
    while size isnt MAX_SIZE and size < n and
    size * 2 * 2 <= MAX_BYTES
     size = size << 1
    buffers = [new ArrayBuffer size << 1]
    views = [new Int16Array buffers[0]]
