remove unnecessary explicit integer casting (pyx)