math rebin docs comments