added histoStackClass