Optimal connection among dynamical modular systems