segmentation is now broken ( it compiles , but the dots are not connected )