Extract bounding box debug code to Utils