sorting out indexing
fixed birth/death indexing bug