proper or-combine of overlapping ranges
bug fix in containment function.
preventing overlap of dynamic ranges
moving function
fixed bugs in last