improve how phrase seq confidence is calculated