A new topological segmentation of discrete surfaces