In `shval3.c` some indexes start with 1. Check if it's possible to switch to the traditional 0-based indexing and fix the issue.