Conerted merge routines to use Interval tree