Switch to using prime iterator in qfb module.