Create peaks and add local measures