Rectangular Grid Script editing

Hello,
I have this grasshopper script that uses a rectangular grid. How can I change the parameters of the grid to have different sizes geometry? we are replicating snakeskin where the middle is bigger than the sides or vice-versa. How can this be done? Please I need help it is for school.