Multihtread indexing version for pivot_neighb_invindx