voting stuff
line segmentation done