only output progress every 10k