Introducing new and improved interval tree datastructure