Speed up for plotting massive 1D plots. Checks if the points list
contains many points of almost the same position.