use multi-dimensional array from boost library