Weighted interval tree. If each interval x i has a weight w(x i), its sampling .