adds multip sh_term_ranks