1. function post(x
b
)
2. foreach x in x
b
3. add x = Z
cm,i
(x) to the bag of
m
i
.x
i
b
4. end post