simplified sidx generation (one step process instead of collecting the per fragment sidx and unify them)