Change way plugin searchs for overlapping regions