Use more efficient indices in sample configuration