Looking at the code I faced with pos and pos_inds but I could not understand what they are and what they do.