1. function post(yb)
2. foreach y in yb
3. if i destination of Ci(y) is a parent
4. add y = Ci(y) to the bag m i .y i b
5. else
6. add x = Ci(y) to the bag of m i .x i b
7. end post