add first calcBinPack
tested by me