store sc_lastnfactor with the pool and use for output

move the output of NFactor to the pool connection line