Memory stack wasn't grown when optional parameters are present