SMS: Vertical density representation and its applications