adapt to n ew outputs
keep n image for each band