Included maximum channel degree into channel pattern detection