Check blocks of nodes when checking graph isomorphism

unused (I hope :) ).