add min_line_interval support