Step through the shrink. The curve below is the objective at each step; MACCHIatO is its minimum (green), not the empty mask at the end. Full explanation above.

objective (mean squared Dice-distance) vs. step