Application of percolation theory to surface segregation during recovery