(a) if the current x is lower than the previous x: (a.1) if the current x has been seen before, discard the current point (a.2) else discard the previous point. (b) elsif the current x is identical to the prev. x (due to a.1 on prev.iteration) (b.1) discard previous point