Optimized the output handling to have the output be placed much closer to where the half complete product needs to be moved to to have further atoms attached.