reduced the trajectory filtering time.