agreed,
so nth_element here and in median() ?