Use hi_max and hj_max instead of particles own hi to work out how many particles to read into the cache.