rm dead code in optimize-binning