Hey, just running the demo roi_script, in the case of getDataFromExpansion(opt, dataImage, roiName); I get this

where this is the last result with 57 voxels, you can see that in the brain there are 3 masked spots, two in I guess MT, and 1 in some inferior part of the brain.
So two questions,
(1) is it intended to start expanding in only 1 ROI and continuing in the second one?
(2) I guess that the 3rd spot in the inferior part is there by mistake.
Also, Have you tried to save each ROI across the expansion iteration? It seems that at some point in the process it stops expanding and starts again towards the end.