Changing terminal gain to be only discrete change in number of modes.