Second pass segmentation