finish the function "eleminate_left_divisor"