Computing Substrates's connections