- Calculate bounding box