                 let maximumRestrictedBoundSize = (vert ? blockOrigin.x : blockOrigin.y) == 0
                 
                 if (spaceAvailable && maximumRestrictedBoundSize && !inBounds) {
-//                    NSLog(@"%@: layout is not %@ enough for this piece size: %@! Adding anyway...", [self class], vert? @"wide" : @"tall", NSStringFromCGSize(blockSize));
+                    NSLog("\(type(of: self)): layout is not \(vert ? "wide" : "tall") enough for this piece size: \(blockSize)! Adding anyway...");
                     return true
                 }
             

        return blockSize ?? CGSize(width: 1, height: 1)
    }
    
    // this will return the maximum width or height the quilt
    // layout can take, depending on we're growing horizontally
    // or vertically

        let isVert = self.direction == .vertical
        
        let contentRect = UIEdgeInsetsInsetRect(self.collectionView!.frame, self.collectionView!.contentInset)
        let size = Int(isVert ? contentRect.width / self.blockPixels.width : contentRect.height / self.blockPixels.height)
        
        if (size == 0) {
            if(!didShowMessage) {
                NSLog("\(type(of: self)): cannot fit block of size: \(self.blockPixels) in content rect \(contentRect)!  Defaulting to 1");
                didShowMessage = true;
            }
            return 1
        }
        
        return size
    }
}
