Fixed the compiler memory leak by avoiding multi-dimensional BOOST_PP_REPEAT preprocessor macros. Now, clang requires almost no memory and gcc shows its usual bad memory footprint.