Added global data.
Cut flow improvments.
Store everything in the mini tuple.