optimized the topology verification part