Cython implementation of jenks breaks