modify least common mutilpe