use boost multi-array to implement arrays