commit SumRootToLeafNumbers and refactor SurroundedRegions