optimizes lob union all