extract wave segments 3