I'm in favor of keeping the code as is, I feel like it's simple and readable enough that we don't need to either import a new library or even include a part of it. Maybe we should audit the code base to see if including ``more_itertools`` is useful to other places and then consider including it plus doing a bit of refactor. Doesn't sound high priority though...