some fixes to prepareCombineWorkspace, finer binning