

Peter MOUEZA do you mean that you don't want the ellipses truncating the output? You can add
maplist(writeln, Bag)
to explicitly write every solution, or execute set_prolog_flag(answer_write_options, [max_depth(1000)]).
before your goal to increase the printing depth from 10 to 1000.