chg: opt. (not computing log(l1) if l1 is unchanged)