allowing peaknumbers down to 2