implement ExtractUsedIndices