Isomorphism rejection in structure generation programs