Efficient Networks For Quantum Factoring