work on bounding boxes/leafs