chart optimization melodic contour