Returns the overlapping region of a given range
the overlapping range or null if there is no overlap.
Range to be checked.