insert interval, key is to find the range of overlapping