1. function post(xb)

2. foreach x in xb

3. add x = Zcm,i(x) to the bag of m i .x i b

4. end post