Made index 0-based, no more +1/-1.