As highlighted in #256, `boundscheck` are disabled in numba compiled functions for the sake of performance. However, this might hide tough bugs. It is possible to enable `boundscheck` globally using [NUMBA_BOUNDSCHECK flag](https://numba.readthedocs.io/en/stable/reference/envvars.html) during testing to have a tighter unittests.