pass collected cost-centre stacks to the generator
remove an unused declaration
move a util function
init collected cost-centres