Memory footpring cut by factor 3-4 by not storing portrait matrices for each portrait scan