Added the multiloops_count flag to are_adjacent_stems