fix for memory leak
Resolves a bug in BinPackingDecoder
implementation of a decoder that uses both FF and BF heuristics