finished function for iso wrt all vertices