move intersection functions to bounding_box