print_stable_motifs retruns dict