change boundary values for beta