I think the Ukrainians have the patience and discipline not to charge ahead blindly at every breakthrough and end up in the same position as the initial Russian invasion force, with unsecured flanks and no real supply lines.
I expect the territory to be taken back in bites, not all at once. With time taken to secure what has been gained and get things organized for the next step before moving on.
But the pace at which that happens is impossible to predict.