Solution:  smooth first
Where is the edge?
Look for peaks in