Consolidate bounding box functions