Fixed median selection.