finished and did optimization round on shared_motifs