ERROR: More than 50 cycles of template compilation