The structure of max–min hyperplanes