compare len w/ reference trace