Create buildHisto