Meanwhile, why both `compute_cut_weight` and `cut_size`?
Meanwhile, why both
compute_cut_weightandcut_size?