print assignment stats at every iteration