analysis of res_cut begin