We can't share expandOpt in iterations