flatten baseline array before stack