new implementation for isotropic & anisotropic connectivity