bugfix: avoid repeated POW counts