multiple segments filtering