refactor adv sizes selection