get peaks in hist diff for shot change