sed_rate_gen_from_bounds function

seg rate gen from upper/lower bounds