using speed to peer algo