rcpp_convex_minorant