doing sparse connections