I don't think avoiding such pathological cases would be that hard. See https://news.ycombinator.com/item?id=45178286