Different output by scripting 'REMOVE_SMALL_ISLANDS'

Hello 3Dslicer forum

I made a small Python script to start the “Islands” -> “REMOVE_SMALL_ISLANDS” effect.

effect = self.segmentEditorWidget.activeEffect()
effect.setParameter("MinimumSize", 1000)

with the a parameters “1000”

so i did the same with the SegmentEditor GUI with the “1000” voxels parameters
but the segmentation output is not the same and i don’t find why

do you have an ideas ?

Thanks a lot