assign ibs idx to sample points