1 millon * improvement to isomorphism

Much better isomorphism implementaion. Can fail if complexity of calculation is too big, and that is user settable.