Add new func b_spline_compress.