fixing error where global bounding box was being used to detect partitioning neighbors rather than the local bounding box