Return the subsequences where a temporal value stays within a given distance for at least a given duration.