remove boost dependency. use vector to replace boost::multi_array