improve the way size_t is dealt with in cython files