fix iterator length
implement the AC test for NEC 2014 690.12 (fixes #223)