O3 for cython
boundscheck