Slightly nicer logic in creating the matrix of semantics in lccb.