pxd clas chunks + fix compile errors carray