extract min and max
zero line