Avoided recomputation of nextG in minimal representative search.