edits from mschultz: make vars increm value per-var, increase incremvar every N loops