         self.sectionInset = UIEdgeInsets.zero
         self.itemRenderDirection =
             CHTCollectionViewWaterfallLayoutItemRenderDirection.chtCollectionViewWaterfallLayoutItemRenderDirectionShortestFirst
-        
-        headersAttributes = NSMutableDictionary()
-        footersAttributes = NSMutableDictionary()
 
         super.init()
     }

            return
        }
        
        self.headersAttributes.removeAllObjects()
        self.footersAttributes.removeAllObjects()
        self.unionRects.removeAll()
        self.allItemAttributes.removeAll()
        self.sectionItemAttributes.removeAll()

    var columnHeights = [CGFloat]()
    var sectionItemAttributes = [[UICollectionViewLayoutAttributes]]()
    var allItemAttributes = [UICollectionViewLayoutAttributes]()
    var headersAttributes = [UICollectionViewLayoutAttributes]()
    var footersAttributes = [UICollectionViewLayoutAttributes]()
    var unionRects = [CGRect]()
    let unionSize = 20
    
