Split some parts of UpdateBoundingBox into multiple lines.