By looping through each leaf that has been modified, update its bounding box and its parents bounding boxes.