         for dy in [0...width] by 1
           for dz in [0...width] by 1
 
-            bucketIndex = @bucketIndexByAddress3(x + dx, y + dy, z + dz, "setBucketByZoomedAddress")
-
-            if bucketIndex == undefined
-              console.log "ERROR"
-            bucket = cube[bucketIndex]
-
-            if bucketData
-              if zoomStep < bucket.zoomStep 
-                bucket.data = bucketData
-                @trigger("bucketLoaded", [x + dx, y + dy, z + dz], zoomStep, bucket.zoomStep)
-                bucket.zoomStep = zoomStep
-            else
-              bucket.requestedZoomStep = bucket.zoomStep
-
-    else
-      bucketIndex = @bucketIndexByAddress3(bucket_x, bucket_y, bucket_z, "setBucketByZoomedAddress")
-      
-      if bucketIndex == undefined
-        console.log "ERROR"
-      bucket = cube[bucketIndex]
-      unless bucket
-        return 0
-      if bucketData
-        if zoomStep < bucket.zoomStep 
-          bucket.data = bucketData
-          @trigger("bucketLoaded", [bucket_x, bucket_y, bucket_z], 0, bucket.zoomStep)
-          bucket.zoomStep = 0
-      else
-        bucket.requestedZoomStep = bucket.zoomStep
+            bucketIndex = @bucketIndexByAddress3(x + dx, y + dy, z + dz)
+            
+            if bucketIndex
+              bucket = cube[bucketIndex]
+              if bucketData
+                if zoomStep < bucket.zoomStep 
+                  bucket.data = bucketData
+                  @trigger("bucketLoaded", [x + dx, y + dy, z + dz], zoomStep, bucket.zoomStep)
+                  bucket.zoomStep = zoomStep
+              else
+                bucket.requestedZoomStep = bucket.zoomStep
+
+    else
+      bucketIndex = @bucketIndexByAddress3(bucket_x, bucket_y, bucket_z)      
+      if bucketIndex
+        bucket = cube[bucketIndex]
+        unless bucket
+          return 0
+        if bucketData
+          if zoomStep < bucket.zoomStep 
+            bucket.data = bucketData
+            @trigger("bucketLoaded", [bucket_x, bucket_y, bucket_z], 0, bucket.zoomStep)
+            bucket.zoomStep = 0
+        else
+          bucket.requestedZoomStep = bucket.zoomStep
 
     return
 


            bucketIndex = @bucketIndexByAddress3(x + dx, y + dy, z + dz)

            if bucketIndex == undefined
              console.log "ERROR"
            if cube[bucketIndex]
              cube[bucketIndex].requestedZoomStep = Math.min(zoomStep, cube[bucketIndex].requestedZoomStep)
            else


    { cube } = @

    bucketIndex = @bucketIndexByAddress3(bucket_x, bucket_y, bucket_z)

    if cube[bucketIndex]
      cube[bucketIndex].requestedZoomStep
