stable bottle - cython compilable