handle overlapping regions