Moved to cython and its working well.