profile script:  connectivity with timeit
OPT testnd:  cythonize non-adjacent cluster merging