AppendCostBufferCommand ()