remove the list of selected item in the C code for the similarity since now the similarity matrix contains only selected items