Chunksize is optional

I think it's better to consolidate these equality checks using reflect.DeepEqual or just struct equality. If we add new fields, then we need to remember to check them here too, and checking each field individually is more verbose.