add rect_mc_c