Function for creating all-inclusive extent
Function for getting extent intersection