On Tuesday 19 Feb 2013 12:52:34 Antti Niemistö wrote: > The break statement is needed for cases where the smoothed historgram has > a flat tail on the right hand side of the second peak. Oh, yes, you are right! that break stops it at the first occurrence. Thanks for clarifying this. Cheers Gabriel