points for direction are only considered when the distance to the last point is beyond a threshold (MIN_DISTANCE_FOR_DIRECTION)