Changed how particle IDs are stored/read