Fix errors in value: calculation of beans-to-next-tier