bc: fix total costs