getting max prob of BOS->State