making lines not overlaps dots in statistics