finalize bcf header structure