New version of topo_ratio feature