don't modify srcIndices