 
   getBucketByZoomedAddress : (address) ->
 
-    buckets = @cube[address[3]].buckets
+    buckets = @cubes[address[3]].buckets
     bucketIndex = @getBucketIndexByZoomedAddress(address)
 
     if bucketIndex?

      @upperBoundary[2] >> @BUCKET_SIZE_P
    ]

    for i in [0..@ZOOM_STEP_COUNT]

      @cube[i] = { boundary: cubeBoundary.slice(), buckets: new Array(cubeBoundary[0] * cubeBoundary[1] * cubeBoundary[2]) }
      cubeBoundary = [
        (cubeBoundary[0] + 1) >> 1
        (cubeBoundary[1] + 1) >> 1

    oldBucketLevel = bucket.level
    bucket.level = 0

    subCube = @cubes[zoomStep - 1]

    for dx in [0..1]
      for dy in [0..1]
