Input: Start index s, End index   e ,   Atypia-Amplitude Signature amp_list,
   Threshold for PIP detection T, Pip list pip_list
Method:
(1) max_vd_idx Max_ VD _Idx(s, e, amp_list)
(2) max_vd
(3) if max_vd_idx is not 0 then
(4)   max_vd VD   (s, max_vd_idx, e, amp_list)
(5) if max_vd > T then
(6)   Sub_PIP_Detection (s, max_vd_idx, amp_list, T, pip_list)
(7)   Sub_PIP_Detection (max_vd_idx, e, amp_list, T, pip_list)
(8) else
(9)   pip_list .add (amp_list.get(e))
(10) end if
Algorithm 3: Sub_PIP_Detection  (s , e , amp_list , T, pip_list).