make the boundary inclusive for priors