[geometry] handled more cases in relate(Ls, Ls)