add shared_ptr_type typedef for Histogram class