 
 
   pullBatch : (batch) ->
+
     # Loading a bunch of buckets
     @batchCount++
     fourBit = @shouldRequestFourBit()


  getMaxCoordinatesAsBucket : (bounds, bucket) ->

    return _.map(bounds, (e) => e % (1 << ( @cube.BUCKET_SIZE_P + bucket.zoomStep )))


  setFourBit : (@fourBit) ->


          # copy the ndstore response into the new array, respecting the bounds of the dataset
          index = 0
          for z in [bucketBounds[2]...bucketBounds[5]]
            for y in [bucketBounds[1]...bucketBounds[4]]
              for x in [bucketBounds[0]...bucketBounds[3]]
                buffer[z * bucketSize * bucketSize + y * bucketSize + x] = dataView.getUint8(index++)
          resolve(buffer)
        (error) ->
          reject(error)
      )
    )
