apply the algoritm to this mobility trace