                     need_to_render.append(Block(minX: block.minX, minY: block2.minY, maxX: block.maxX, maxY: block.maxY))
                     
                 } else {
+                    
                     need_to_render.append(block)
                 }
             }

            self.maxX = maxX
            self.maxY = maxY
        }
        
        var width: Int {
            return maxX - minX
        }
        
        var height: Int {
            return maxY - minY
        }
    }
    
    class Cache {
        

            
            guard let blitCommandEncoder = commandBuffer.makeBlitCommandEncoder() else { return }
            
            for (block, texture) in blocks {
                
                let _minX = max(block.minX, minX)
                let _minY = max(block.minY, minY)
