Need of a different sampling technique. Let a1, a2, …, an, b, be ordered with increasing values. The key fact is given here.
Then consider the following.
If we sample uniformly in V(bi) and count |V (bi -1) |we have p = 1/n.