Adds extent function, and skeleton of split-merge