Saving each peak once, no more crashing