Support nan pointcloud for euclidean segmentation