almost done with widths and peak maxima