Duration in context clustering