math ceiling for food chart bug fix