Create a program that searches for big peaks using a higher threshold and smaller peaks using a smaller threshold. Of course the big peaks would show up in the small peak array. Go through the small peak array and see if you can find the same peaks in the big peak array. If you do, you know you have a big peak. If you don't, then it must be a small peak.