Original: This ensures that the sample median matches the 50th percentile.
Simplified: The 50th percentile is called median.