Add 5-tuple selectors and flatten3.