[Penlin] adjusted version of beta estimation in encoder (his table)