replaced boost::shared array with normal array