Extracting the overlapped sub-regions in wireless sensor networks