predict.c (predict_paths_leading_to, [...]): Add in_loop parameter.