Use indexes and not pointers in chunk inspection