graph partitioning and graph isomorphism functions