more compact pow loop