change the xmax setting in getHistIntegrals