Add flag for setting number of IAs.