Bugfix: correct entropy max value