This cluster label is decided based on the neighbors of the cell which have been previously scanned and labelled, and if the cell doesn't have any occupied neighbors then new label is assigned to the cell.
This cluster label is decided based on the neighbors of the cell. This cell have been previously scanned and labelled. New label is assigned to the cell. The cell doesn't have any occupied neighbors then.