primitiveCleanUp depends on duration and amplitude analysis. Before we used the same parameter for both, we now included a separate amplitudeRatio parameter (size 2x) to see if we merge or not.