Yeah, I am aware it is an assertion error that is happening. But I don’t know what are these  cur_offset and offset variables are. I have tried to read the code there but have not been able to figure out.