got dynamic generation of connection coefficients, but they are running slow at the moment