gradHist ported