check_pending: change peer change strategy

now compare peer speed with avg speed