Maximum and minimum entropy states yielding local continuity bounds