Added the indirection table to handle encounter ordering.