Verificar as distancias