Remove new_idx while we are at it