How to construct Interval tree and when to use it