Add draw v/h line with max optimization