sheep calculation fixed