knth using mom (median of medians)