Stack too deep while compiling using CVL

CompilerError: Stack too deep when compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack.

I am getting this error how do I go about solving it

try to add --optimize 1 to your script/run command

Thank you, yes! it worked