s/size_t/chck*Index/
Use const for C array constructor/setter.