Wrote code to find encircled dots with cython.