beg Codegen Cst