fixed the checkParitionOverlap in the solveSchubertProblem function