add quick exit if factors are not complex