[UBI] - Interval tree implementation

The remove function is fully implemented.