update: make median-of-two clear