How to change extends?

Maybe somebody can help me. I would like to change the size of “extents”, because at the moment it is to small and i would like to make it bigger. Does somebody have a solution?
Heres the code:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Boundaries : MonoBehaviour
{
public Camera MainCamera;
private Vector2 screenBounds;
private float objectWidth;
private float objectHeight;

void Start()
{
screenBounds = MainCamera.ScreenToWorldPoint(new Vector3(Screen.width, Screen.height, MainCamera.transform.position.z));
objectWidth = transform.GetComponent().bounds.extents.x; //extents = size of width / 2
objectHeight = transform.GetComponent().bounds.extents.y; //extents = size of height / 2
}

void LateUpdate()
{
Vector3 viewPos = transform.position;
viewPos.x = Mathf.Clamp(viewPos.x, screenBounds.x * -1 + objectWidth, screenBounds.x - objectWidth);
viewPos.y = Mathf.Clamp(viewPos.y, screenBounds.y * -1 + objectHeight, screenBounds.y - objectHeight);
transform.position = viewPos;
}
}

Okay guys, i have fixed it!