scaling the alpha and beta to avoid overflow