Improved guessing at the beta upper bound. And some changes in the output-function