[DF-185] used pointer_size for matrix cache instead of uint32