functionality is all there! just need to tweak dmin parameter for starting point of histogram