switch from particle to particle index + fix minor bug in IMP_USAGE