We need to subtract one from this index because live ranges are open at the end.