Adds logic to compute dataset bounding box using global attrs