add random compute by cython