Generates a stopping condition that stops if no clusters jumped (reset to a random point because of encounting nan).