Now handles local maxima encountered in partition density prior to
reaching global maxima