[boost] Sparse tables and perfect hashing [ was: multidimensional arrays (was Boost Mathematicians) ]