Added build_curves_by_rlz