[INTERNAL] length checks in peakpicker simple