Optimality of extremal features