Now ID.maxId and .minId are cached.