fix bug for creating datasets with fewer than 8 summed rois