Implementing SetPureScalar().
assembleCPBC() implemented.