Speedup general factor recipe a bit